<?php
namespace Home\Model;
use Think\Model;

class ActivityModel extends Model {
    	// $result = M('goods')->where('goodsid = ' . $id)->save($data);
    	public function lists($arr) {

    		$data = $this->field($arr['field'])->where($arr['where'])->select();

    		return $data;
    	}
	
}